Crate wasmtime_wasi_http
source ·Re-exports§
pub use crate::types::WasiHttpCtx;
pub use crate::types::WasiHttpView;
Modules§
- Implements the base structure (i.e. WasiHttpCtx) that will provide the implementation of the wasi-http API.
Functions§
- Translate a
http::Error
to a wasi-httpErrorCode
in the context of a request. - Translate a
hyper::Error
to a wasi-httpErrorCode
in the context of a request. - Translate a
hyper::Error
to a wasi-httpErrorCode
in the context of a response.